package cn.tedu._03weibo_test.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;

@Data
public class CommentAddParam {
    @Size(min=10, max=100, message="文本内容必须在10~100之间")
    @ApiModelProperty(value = "评论内容",required = true)
    private String content;
    @ApiModelProperty(value = "微博id",required = true)
    private Long weiboId;
}
